Fix frame size when scroll bar width not an integral of column width.
authorJan D <jan.h.d@swipnet.se>
Wed, 14 Jul 2010 15:06:33 +0000 (17:06 +0200)
committerJan D <jan.h.d@swipnet.se>
Wed, 14 Jul 2010 15:06:33 +0000 (17:06 +0200)
xterm.c (x_set_window_size_1): scroll_bar_actual_width is always
SCROLL_BAR_COLS * COLUMN_WIDTH for the purpose of frame sizing.

src/ChangeLog

index 0873282b141e294ca8075284d1d79a2898f70b48..146d4451a98da1b91c3bb196d7c8ea68c2d54fd6 100644 (file)
@@ -8,6 +8,8 @@
        Remove #ifdef USE_GTK around finish = X_EVENT_DROP.
        Remove #ifdef USE_MOTIF code that did SET_SAVED_BUTTON_EVENT for
        ButtonRelease.
+       (x_set_window_size_1): scroll_bar_actual_width is always
+       SCROLL_BAR_COLS * COLUMN_WIDTH for the purpose of frame sizing.
 
        * xdisp.c (pending_menu_activation): Remove extern declaration.
        (prepare_menu_bars): Remove setting of pending_menu_activation.